package com.gh.pattern.factory.simple;

public class SimpleFactoryTest {
    public static void main(String[] args) {
        //把用户的需求告诉工厂
        //创建产品的过程隐藏了，对于用户而且完全不清楚是怎么产生的
        SimpleFactory factory = new SimpleFactory();
        System.out.println(factory.getCellPhone("小米"));
    }
}
